package com.sina.shop.manage.dao.address;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.address.Address;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2018-01-03-16:01
 */
public interface AddressManageDao extends BaseDao {

    Address getAddressByName(String name);

    int deleteAddress(Long id);

    List<Map<String, Object>> getAddressList(Address address);

    Long getAddressCount(Address address);

    int updateAddressStatus(Long aid);
}
